package siberia.ast.expr;

public class BinaryExpr extends Expr {
    public Expr left;
    public OpType op;
    public Expr right;

    public BinaryExpr(Expr left, OpType op, Expr right, int line) {
        this.left = left;
        this.op = op;
        this.right = right;
        this.line = line;
    }

    public ExprType type() {
        return ExprType.Binary;
    }
}
